package com.nightsoul.shiro.test.chapter12.dao;

import com.nightsoul.shiro.test.chapter12.entity.Role;


public interface RoleDao {

    public Role createRole(Role role);
    public void deleteRole(Long roleId);

    public void correlationPermissions(Long roleId, Long... permissionIds);
    public void uncorrelationPermissions(Long roleId, Long... permissionIds);

}
